package com.genreate.util.xyzw;

// ===== 技能实现 =====

// 吕布 - 战神 (被动技能)
class ZhanShen implements PassiveSkill {
    @Override
    public String getName() {
        return "战神";
    }

    @Override
    public void onBattleStart(Hero owner) {
        owner.tempAttackBonus += owner.attack * 20 / 100; // 攻击提升20%
        System.out.println(owner.name + " 的" + getName() + "效果: 攻击力提升20%");
    }

    @Override
    public void onRoundStart(Hero owner) {
    }

    @Override
    public void onAttack(Hero owner, Hero target, int damage) {
    }

    @Override
    public void onDefend(Hero owner, Hero attacker, int damage) {
    }
}

